package com.zm.devmag.device.service.Impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zm.devmag.device.Vo.InOutStockVo;
import com.zm.devmag.device.dao.InOutStockMapper;
import com.zm.devmag.device.po.InOutStock;
import com.zm.devmag.device.service.InOutStockServer;



@Service
public class InOutStockServerImpl implements InOutStockServer {
	@Autowired
	private InOutStockMapper iosMapper;
	
	public List<InOutStockVo>selectByDid(Long did){

		return iosMapper.selectByDid(did);
	}
	public int insertOneIOStock(InOutStock ios){
		return iosMapper.insertOneIOStock(ios);
	}
	public List<InOutStockVo> selectByLikeDDNO(Map<String, Object> cond){
		return iosMapper.selectByLikeDDNO(cond);
	}
	public int deleteOneById(Long did){
		return iosMapper.deleteOneById(did);
	};
}
